﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using Windows8Accelerator.Core.Xaml.Model;

namespace SimpleRssReader.Model
{
    public class Blog : ModelBase
    {
        private int _Id;
        public int Id
        {
            get { return this._Id; }
            set { this.SetProperty(ref this._Id, value); }
        }

        private string _Name;
        public string Name
        {
            get { return this._Name; }
            set { this.SetProperty(ref this._Name, value); }
        }

        private string _RssUrl;
        public string RssUrl
        {
            get { return this._RssUrl; }
            set { this.SetProperty(ref this._RssUrl, value); }
        }

        private List<Post> _Posts;
        public List<Post> Posts
        {
            get { return this._Posts; }
            set { this.SetProperty(ref this._Posts, value); }
        }

    }
}
